package me.keiwu.user.dao;

import me.keiwu.user.domain.CombAvatar;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

/**
 * Created by kei on 25/11/2017.
 */
public interface CombAvatarDao extends CrudRepository<CombAvatar, Integer> {

    CombAvatar findBySuitIdAndSingleId(Integer suitId, Integer singleId);

    List<CombAvatar> findAllBySuitId(Integer suitId);

    List<CombAvatar> findAllBySingleId(Integer singleId);

}
